package com.xhh.model.reapply.dtos;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(description = "获取调剂规则实体")
@AllArgsConstructor
public class GetRuleDto {

    @ApiModelProperty(value = "报考单位")
    @NotNull(message = "报考单位id不能为空")
    private String unityCode;

    @ApiModelProperty(value = "报考单位院系")
    @NotNull(message = "院系id不能为空")
    private String faultyCode;

    @ApiModelProperty(value = "报考专业")
    @NotNull(message = "专业id不能为空")
    private String majorCode;

}
